#include "piece.h"

Piece::Piece()
{
    x = 0;
    y = 0;
    type = false;
}
int Piece::getX(){
       return x;
}
int Piece::getY(){
    return y;
}
bool Piece::getType(){
    return type;
}
void Piece::setX(int x){
    this->x = x;
}
void Piece::setY(int y){
    this->y = y;
}
void Piece::setType(bool type){
    this->type = type;
}
